package com.ruoyi.smtdashboard.service.impl;

import com.ruoyi.smtdashboard.domain.entity.Charts;
import com.ruoyi.smtdashboard.domain.entity.QueryParams;
import com.ruoyi.smtdashboard.domain.entity.Smtdashboard;
import com.ruoyi.smtdashboard.mapper.SmtDashboardMapper;
import com.ruoyi.smtdashboard.mapper.SmtTableMapper;
import com.ruoyi.smtdashboard.service.SmtDashboardService;
import com.ruoyi.smtdashboard.service.SmtTableService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SmtDashboardServiceImpl implements SmtDashboardService {

    @Autowired
    SmtDashboardMapper smtDashboardMapper;

    @Override
    public List<Smtdashboard> queryDashboard(QueryParams queryParams) {
        return smtDashboardMapper.queryDashboard(queryParams.getYear(),queryParams.getMonth(),queryParams.getLine());
    }

    @Override
    public List<Smtdashboard> queryDashboardMonthList(QueryParams queryParams) {
        return smtDashboardMapper.queryDashboardMonthList(queryParams.getYear(),queryParams.getMonth(),queryParams.getLine());
    }

    @Override
    public List<Charts> queryClaim(QueryParams queryParams) {
        return smtDashboardMapper.queryClaim(queryParams.getYear(), queryParams.getMonth(), queryParams.getLine());
    }

    @Override
    public List<Charts> queryClaimMonthList(QueryParams queryParams) {
        return smtDashboardMapper.queryClaimMonthList(queryParams.getYear(), queryParams.getMonth(), queryParams.getLine());
    }

    @Override
    public List<Charts> queryNonConformity(QueryParams queryParams) {
        return smtDashboardMapper.queryNonConformity(queryParams.getYear(), queryParams.getMonth(), queryParams.getLine());
    }

    @Override
    public List<Charts> queryNonConformityMonthList(QueryParams queryParams) {
        return smtDashboardMapper.queryNonConformityMonthList(queryParams.getYear(), queryParams.getMonth(), queryParams.getLine());
    }

    @Override
    public List<Charts> querySortingFee(QueryParams queryParams) {
        return smtDashboardMapper.querySortingFee(queryParams.getYear(), queryParams.getMonth(), queryParams.getLine());
    }

    @Override
    public List<Charts> querySortingFeeMonthList(QueryParams queryParams) {
        return smtDashboardMapper.querySortingFeeMonthList(queryParams.getYear(), queryParams.getMonth(), queryParams.getLine());
    }

    @Override
    public List<Charts> queryScrapRatio(QueryParams queryParams) {
        return smtDashboardMapper.queryScrapRatio(queryParams.getYear(), queryParams.getMonth(), queryParams.getLine());
    }

    @Override
    public List<Charts> queryScrapRatioMonthList(QueryParams queryParams) {
        return smtDashboardMapper.queryScrapRatioMonthList(queryParams.getYear(), queryParams.getMonth(), queryParams.getLine());
    }

    @Override
    public List<Charts> queryCAPA(QueryParams queryParams) {
        return smtDashboardMapper.queryCAPA(queryParams.getYear(), queryParams.getMonth(), queryParams.getLine());
    }

    @Override
    public List<Charts> queryCAPAMonthList(QueryParams queryParams) {
        return smtDashboardMapper.queryCAPAMonthList(queryParams.getYear(), queryParams.getMonth(), queryParams.getLine());
    }

    @Override
    public List<Charts> queryCompliance(QueryParams queryParams) {
        return smtDashboardMapper.queryCompliance(queryParams.getYear(), queryParams.getMonth(), queryParams.getLine());
    }

    @Override
    public List<Charts> queryComplianceMonthList(QueryParams queryParams) {
        return smtDashboardMapper.queryComplianceMonthList(queryParams.getYear(), queryParams.getMonth(), queryParams.getLine());
    }

    @Override
    public List<Charts> queryFindingsIPQC(QueryParams queryParams) {
        return smtDashboardMapper.queryFindingsIPQC(queryParams.getYear(), queryParams.getMonth(), queryParams.getLine());
    }

    @Override
    public List<Charts> queryFindingsIPQCMonthList(QueryParams queryParams) {
        return smtDashboardMapper.queryFindingsIPQCMonthList(queryParams.getYear(), queryParams.getMonth(), queryParams.getLine());
    }

    @Override
    public List<Charts> queryPartyFinding3rd(QueryParams queryParams) {
        return smtDashboardMapper.queryPartyFinding3rd(queryParams.getYear(), queryParams.getMonth(), queryParams.getLine());
    }

    @Override
    public List<Charts> queryPartyFinding3rdMonthList(QueryParams queryParams) {
        return smtDashboardMapper.queryPartyFinding3rdMonthList(queryParams.getYear(), queryParams.getMonth(), queryParams.getLine());
    }

    @Override
    public List<Charts> queryOQCBatchScan(QueryParams queryParams) {
        return smtDashboardMapper.queryOQCBatchScan(queryParams.getYear(), queryParams.getMonth(), queryParams.getLine());
    }

    @Override
    public List<Charts> queryOQCBatchScanMonthList(QueryParams queryParams) {
        return smtDashboardMapper.queryOQCBatchScanMonthList(queryParams.getYear(), queryParams.getMonth(), queryParams.getLine());
    }

    @Override
    public List<Charts> queryOQCLrr(QueryParams queryParams) {
        return smtDashboardMapper.queryOQCLrr(queryParams.getYear(), queryParams.getMonth(), queryParams.getLine());
    }

    @Override
    public List<Charts> queryOQCLrrMonthList(QueryParams queryParams) {
        return smtDashboardMapper.queryOQCLrrMonthList(queryParams.getYear(), queryParams.getMonth(), queryParams.getLine());
    }

    @Override
    public List<Charts> queryOQCDppm(QueryParams queryParams) {
        return smtDashboardMapper.queryOQCDppm(queryParams.getYear(), queryParams.getMonth(), queryParams.getLine());
    }

    @Override
    public List<Charts> queryOQCDppmMonthList(QueryParams queryParams) {
        return smtDashboardMapper.queryOQCDppmMonthList(queryParams.getYear(), queryParams.getMonth(), queryParams.getLine());
    }

    @Override
    public List<Charts> queryOQCOba(QueryParams queryParams) {
        return smtDashboardMapper.queryOQCOba(queryParams.getYear(), queryParams.getMonth(), queryParams.getLine());
    }

    @Override
    public List<Charts> queryOQCObaMonthList(QueryParams queryParams) {
        return smtDashboardMapper.queryOQCObaMonthList(queryParams.getYear(), queryParams.getMonth(), queryParams.getLine());
    }

    @Override
    public List<Charts> queryFoxInsight(QueryParams queryParams) {
        return smtDashboardMapper.queryFoxInsight(queryParams.getYear(), queryParams.getMonth(), queryParams.getLine());
    }

    @Override
    public List<Charts> queryFoxInsightMonthList(QueryParams queryParams) {
        return smtDashboardMapper.queryFoxInsightMonthList(queryParams.getYear(), queryParams.getMonth(), queryParams.getLine());
    }

    @Override
    public List<Charts> querySPIFpy(QueryParams queryParams) {
        return smtDashboardMapper.querySPIFpy(queryParams.getYear(), queryParams.getMonth(), queryParams.getLine());
    }

    @Override
    public List<Charts> querySPIFpyMonthList(QueryParams queryParams) {
        return smtDashboardMapper.querySPIFpyMonthList(queryParams.getYear(), queryParams.getMonth(), queryParams.getLine());
    }

    @Override
    public List<Charts> queryAOIFpy(QueryParams queryParams) {
        return smtDashboardMapper.queryAOIFpy(queryParams.getYear(), queryParams.getMonth(), queryParams.getLine());
    }

    @Override
    public List<Charts> queryAOIFpyMonthList(QueryParams queryParams) {
        return smtDashboardMapper.queryAOIFpyMonthList(queryParams.getYear(), queryParams.getMonth(), queryParams.getLine());
    }

    @Override
    public List<Charts> queryICTFpy(QueryParams queryParams) {
        return smtDashboardMapper.queryICTFpy(queryParams.getYear(), queryParams.getMonth(), queryParams.getLine());
    }

    @Override
    public List<Charts> queryICTFpyMonthList(QueryParams queryParams) {
        return smtDashboardMapper.queryICTFpyMonthList(queryParams.getYear(), queryParams.getMonth(), queryParams.getLine());
    }

}
